import Vue from 'vue'
import App from './App.vue'
/* -------------- 网络库 -------------- */
import axios from 'axios'

import VueAxios from 'vue-axios'
import store from './store/index'
import md5 from 'js-md5'

import dayjs from "dayjs"
Vue.prototype.dayjs = dayjs;//可以全局使用dayjs
/* -------------- 动态库 -------------- */
import less from 'less'
/* -------------- 组件库 -------------- */
import {
    Breadcrumb,
    Button,
    DatePicker,
    Drawer,
    Dropdown,
    Icon,
    Input,
    // LocaleProvider,
    ConfigProvider,
    Menu,
    message,
    Select,
    Switch,
    Table,
    TimePicker,
    Tree,
    Upload,
    Checkbox,
    Popconfirm,
    Row,
    Col,
    Modal,
    List,
    pagination,
    InputNumber,
    Carousel,
    spin,
} from 'ant-design-vue'
/* -------------- 路由 -------------- */
import { router } from './router/index';

import "@babel/polyfill";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false

Vue.use(VueAxios, axios)
Vue.use(ElementUI)
Vue.use(less)

Vue.use(Switch)
Vue.use(Drawer)
Vue.use(Dropdown)
Vue.use(Menu)
Vue.use(Breadcrumb)
Vue.use(Table)
Vue.use(Button)
Vue.use(DatePicker)
    // Vue.use(LocaleProvider)
Vue.use(ConfigProvider)
Vue.use(Input)
Vue.use(Select)
Vue.use(Icon)
Vue.use(Upload)
Vue.use(Tree)
Vue.use(TimePicker)
Vue.use(Checkbox)
Vue.use(Popconfirm)
Vue.use(Row)
Vue.use(Col)
Vue.use(Modal)
Vue.use(List)
Vue.use(pagination)
Vue.use(spin)
Vue.use(InputNumber);
Vue.use(Carousel);




Vue.prototype.$message = message;
Vue.prototype.$md5 = md5;

new Vue({
    render: h => h(App),
    router,
    store
}).$mount('#app')


// let Cesium = require('cesium / Cesium');
// let widgets = require('cesium / Widgets / widgets.css');
// Vue.prototype.Cesium = Cesium
// Vue.prototype.widgets = widgets
